const express = require("express");
let app = express();

app.get("/getdata", (req, res) => {
    // res.setHeader("Access-Control-Allow-Origin", "*");
    res.json({
        info: "我是4000端口发送的数据"
    })
})

app.listen(4000);